import request from '@/utils/request';

// 获取热门搜索
export function getHotSearch(){
    return request.get('/search/hotSearchByShopId?number=10&shopId=1&sort=1')
}

// 获取搜索的商品列表数据
export function getSearchList(data){
    return request.get(`/search/searchProdPage?current=1&prodName=${data.prodName}&size=10&sort=${data.sts}`)
}